<ul class="layui-nav layui-nav-tree layui-inline" lay-filter="user">
    <li class="layui-nav-item">
        <a href="{:url('index/user/home')}">
            <i class="layui-icon">&#xe68e;</i>我的主页</a></li>
    <li class="layui-nav-item {if condition = "request()->action()=='index'" }layui-this{/if}">
        <a href="{:url('index/user/index')}">
            <i class="layui-icon">&#xe612;</i>用户中心</a></li>
    <li class="layui-nav-item {if condition = "request()->action()=='set'" }layui-this{/if}">
        <a href="{:url('index/user/set')}">
            <i class="layui-icon">&#xe620;</i>基本设置</a></li>
    <li class="layui-nav-item {if condition = "request()->action()=='question'" }layui-this{/if}">
        <a href="{:url('index/user/question')}">
            <i class="iconfont icon-tiezi"></i>我的帖子999</a>
    </li>
    <li class="layui-nav-item {if condition = "request()->action()=='msg'" }layui-this{/if}">
        <a href="{:url('index/user/msg')}">
            <i class="layui-icon">&#xe611;</i>我的消息</a></li>
    <li class="layui-nav-item {if condition = "request()->action()=='product'" }layui-this{/if}">
        <a href="/user/product/">
            <i class="iconfont icon-chanpin"></i>我的产品</a>
    </li>
</ul>